#!/bin/bash

# install ocaml first
# Linux
# apt-get install ocaml, or yum install ocaml
# Mac
# port install ocaml

# Linux/Mac
#wget http://www.linguistics.ucla.edu/people/grads/jheinz/software/Tools.tar.gz
#wget http://www.linguistics.ucla.edu/people/grads/jheinz/software/FSA.tar.gz
tar -zxvf Tools.tar.gz; cd Tools; make; make opt; cd ..
tar -zxvf FSA.tar.gz; cd FSA; make; make opt; cd ..
cp FSA/fsa ~/bin/
tar -zxvf grgfreqs-2.0.tar.gz; cd grgfreqs-2.0; make; cd ..
cp grgfreqs-2.0/grgfreqs ~/bin/

